import service from '../utils/request'

// 获取购物车列表
export function ShopcartList(payload = {}) {
    return service.get("/shopcart/list", { params: payload })
}

// 清空购物车
export function ShopcartClear(payload = {}) {
    return service.post("/shopcart/clear", payload)
}

// 数量-1
export function ShopcartSub(payload = {}) {
    return service.post("/shopcart/sub", payload)
}